// 基于template/src/views/{{appModules}}/{{pages@DEWFDYNAEDITVIEW}}/{{spinalCase page.codeName}}-model.ts.hbs生成
import { IWFDynaEditViewModel } from "@/core/interface/view/model";
function getModel(): IWFDynaEditViewModel {
    return {
        caption: "订单",
        title: "实体工作流动态编辑视图",
        capPSLanguageRes: "DE.LNAME.IBIZSAMPLE0021",
        titlePSLanguageRes: "",
        showDataInfoBar: true,
        codeName: 'IBIZSample0021Usr1114433946WFDynaEditView',
        uiEngineModel: [
            ],
        ctrls: [
            {
                name: 'toolbar',
                codeName: 'Usr1114433946WFDynaEditViewtoolbar',
                controlType: 'TOOLBAR',
            },
            {
                name: 'form',
                codeName: 'Usr1114790802',
                controlType: 'FORM',
            },
            {
                name: 'wfform_operationform',
                codeName: 'OperationForm',
                controlType: 'FORM',
            }
        ],
        ctrlParams: {
        },
        cssName: "",
        name: "IBIZSample0021Usr1114433946WFDynaEditView",
        viewType: "DEWFDYNAEDITVIEW",
        viewStyle: "DEFAULT",
        showCaption: true,
        isLoadDefault: true,
        entityCodeName: "IBIZSample0021",
        keyPSAppDEField: "IBIZSample0021Id",
        majorPSAppDEField: "IBIZSample0021Name",
        expandSearchForm:false,
        toolbarItems: [
        ],
        toolbarLogics: [
            ]     ,
        xDataCtrlName: "form",
        quickSearchPlaceholder: ['订单名称',].join(","),
        useDefaultLayout: true,
        dynamicForm: [
            {
                codeName: "Usr1114790802",
                name: "form",
                actions: {
                    loadAction: 'Get',
                    loadDraftAction: 'GetDraft',
                    updateAction: 'Update',
                    createAction: 'Create',
                    removeAction: 'Remove',
                    wfSubmitAction: 'WFSubmit',
                    wfStartAction: '',
                }
            },
            {
                codeName: "OperationForm",
                name: "wfform_operationform",
                actions: {
                    loadAction: 'Get',
                    loadDraftAction: 'GetDraft',
                    updateAction: 'Update',
                    createAction: 'Create',
                    removeAction: 'Remove',
                    wfSubmitAction: 'WFSubmit',
                    wfStartAction: '',
                }
            },
        ],
        viewRef: [
            {
                name: "WFACTION@WFDynaActionView",
                viewName: "IBIZSample0021WFDynaActionView"
            },
            {
                name: "WFUTILACTION@ADDSTEPAFTER",
                viewName: "IBIZSample0021ADDSTEPAFTERWFDynaActionView"
            },
            {
                name: "WFUTILACTION@ADDSTEPBEFORE",
                viewName: "IBIZSample0021ADDSTEPBEFOREWFDynaActionView"
            },
            {
                name: "WFUTILACTION@REASSIGN",
                viewName: "IBIZSample0021REASSIGNWFDynaActionView"
            },
            {
                name: "WFUTILACTION@SENDBACK",
                viewName: "IBIZSample0021SENDBACKWFDynaActionView"
            },
        ]
    }
}
export const model = getModel();